package com.example.spring.Dto;

public class YearlyOrderCountDTO {
    private String year;
    private Integer orderCount;

    // 构造方法、Getter 和 Setter
    public YearlyOrderCountDTO(String year, Integer orderCount) {
        this.year = year;
        this.orderCount = orderCount;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public Integer getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(Integer orderCount) {
        this.orderCount = orderCount;
    }
}
